vpath = %.h ../include

all: out clean

out: link_puc.o sql_puc.o log_file.o
	ar -r ../RELEASE/libdata.a $^

%.o: %.c
	gcc -o $@ -c $< -I ../include

.PHONY:clean
clean:
	rm -rf *.o
